package me.numark.utils;

import android.util.SparseArray;

/**
 * Created by tian on 14-9-17:上午7:43.
 */
public class Constants {

    public static final String TencentAppId = "1103415392";

    public static final String SinaAppKey = "890359034";

    public static final String SinaAppRedirectURI = "http://numark.me";

    public static final String SinaScope = "";

    public static final String WECHAT_KEY = "wxc43084a5b8a392ef";

    public static final String KEY_MOBILE = "mobile";

    public static final String KEY_PASSWORD = "password";

    public static final SparseArray<String> CHANNELS = new SparseArray<String>();

    public static final SparseArray<String> NEWS_SOURCES = new SparseArray<String>();

    static {
        CHANNELS.append(0, "财经");
        CHANNELS.append(1, "商业");
        CHANNELS.append(2, "科技");
        CHANNELS.append(3, "管理");
        CHANNELS.append(4, "产品");
        CHANNELS.append(5, "创业");
        CHANNELS.append(6, "科学");
        CHANNELS.append(7, "人物");
        CHANNELS.append(8, "品牌");
        CHANNELS.append(99, "综合");
        CHANNELS.append(100, "大家分享");

        NEWS_SOURCES.append(0, "网易");
        NEWS_SOURCES.append(1, "搜狐");
        NEWS_SOURCES.append(2, "新浪");
        NEWS_SOURCES.append(3, "腾讯");
        NEWS_SOURCES.append(4, "搜狐博客");
        NEWS_SOURCES.append(5, "快鲤鱼");
        NEWS_SOURCES.append(6, "果壳");
        NEWS_SOURCES.append(7, "36kr");
        NEWS_SOURCES.append(8, "华尔街见闻");
        NEWS_SOURCES.append(9, "21世纪网");
        NEWS_SOURCES.append(10, "微信传送门");
        NEWS_SOURCES.append(11, "福布斯中文网");
        NEWS_SOURCES.append(12, "FT中文网");
        NEWS_SOURCES.append(13, "百度百家");
        NEWS_SOURCES.append(14, "腾讯大家");
        NEWS_SOURCES.append(15, "微信");
        NEWS_SOURCES.append(100, "原创");
    }

    public static final int SMS_COUNT_DOWN_TIME = 60;

    public static final int PAGE_SIZE = 20;

    public static final String FEED_EXTRA = "me.numark.feed";

    public static final String URL_EXTRA = "me.numark.url";

    public static final String SHARE_COUNT = "me.numark.comment_count";

    public static final String PICTURE_EXTRA = "me.numark.picture";

    public static final String NEWS_EXTRA = "me.numark.news";

    public static final String MESSAGE_INTERVAL_EXTRA = "me.numark.message_interval";

    public static final String REGISTER_STAGE_EXTRA = "me.numark.register_stage";


    public static final long BIG_TIME = 4070880000000L; // 2099-01-01

    public static final String INTENT_LOG_OUT = "me.numark.log_out";
}